﻿using System;

namespace Glue.Converters
{
    internal class ShortStringConverter:GlueDefaultConverter<short,String>
    {
        internal override string InternalMapTowardsRight(short from)
        {
            return from.ToString();
        }

        internal override short InternalMapTowardsLeft(string from)
        {
            return Convert.ToInt16(from);
        }
    }
}
